Full source code website bán hàng thương mại điện tử gần giống shopee
467.485 lượt xem;
- home1.php
- project /
1
2
3 <!DOCTYPE html>
4 <html xmlns="http://www.w3.org/1999/xhtml" class="">
5 <head id="ctl00_Head1">
6 <meta http-equiv="content-type" content="text/html; charset=utf8" />
7 <meta http-equiv="content-language" content="vi" />
8 <META name= "title" content="<?php include("system/model/title.php"); echo " ". $title_mt;?>">
9 <meta name="description" content="<?php echo $motaseo;?> "/>
10 <meta name="keywords" content="<?php echo $tukhoaseo;?> "/>
11 <META name="robots" content="noodp,index,follow">
12 <META name="revisit-after content"="1 days">
13 <meta name="copyright" content="Copyright (C) DANASTAR COMPANY" />
14
15 <meta name="geo.placename" content="Vietnamese">
16 <meta name="geo.region" content="VN">
17 <meta name="msvalidate.01" content="956500EE46911FC4B5244B34305AF4D1">
18
19 <meta property="og:title" content="<?php echo $title_fb; ?>" />
20 <meta property="og:description" content="<?php echo $description_fb; ?>" />
21 <meta property="og:image" content="<?php echo "http://www.".$home['domain']."/".$image_fb;?>"/>
22 <meta property="og:url" content="<?php echo "http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>" />
23
24 <title><?php include("system/model/title.php");echo " ". $title_mt;?></title>
25
26 <link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
27 <link href="style/bootstrap.css" rel="stylesheet" type="text/css">
28 <link href="style/font-awesome.css" rel="stylesheet" type="text/css">
29 <link href="style/style_new.css" rel="stylesheet" type="text/css">
30 <link rel="stylesheet" href="style/css.css">
31 <link rel="stylesheet" href="style/top.css">
32
33
34
35
36 <script type="text/javascript" async="" src="./temp/platform.js" gapi_processed="true"></script>
37
38 <script type="text/javascript" src="/js/jquery.min.js"></script>
39
40 <!-- Add fancyBox main JS and CSS files -->
41 <script type="text/javascript" src="/quantri/source/jquery.fancybox.js?v=2.1.5"></script>
42 <link rel="stylesheet" type="text/css" href="/quantri/source/jquery.fancybox.css?v=2.1.5" media="screen" />
43
44 <script type="text/javascript" src="./temp/CommonFunction.js"></script>
45
46 <script type="text/javascript" src="./temp/jquery.jcarousel.min.js"></script>
47 <script type="text/javascript" src="./temp/jquery.jcarousel-autoscroll.min.js"></script>
48 <script type="text/javascript" src="./temp/jquery.jcarousel.basic.js"></script>
49 <!-- iCheck for checkboxes and radio inputs -->
50 <link rel="stylesheet" href="quantri/plugins/iCheck/all.css">
51
52
53 <script type="text/javascript">
54 $(document).ready(function() {
55 /*
56 * Examples - images
57 */
58
59
60 $("#xemsanpham").fancybox({
61 'width' : '1100px',
62 'height' : '1100px',
63 'autoScale' : true,
64 'transitionIn' : '11',
65 'transitionOut' : 'none',
66 'type' : 'iframe'
67 });
68
69 $("#xemanh").fancybox({
70 'width' : '500px',
71 'height' : '500px',
72 'autoScale' : false,
73 'transitionIn' : 'fade',
74 'transitionOut' : 'fade',
75 'type' : 'iframe',
76 'opacity' : 'false',
77 });
78 });
79 </script>
80
81
82 <title><?php if($_REQUEST['home']==''){?><?php echo $row_config['title'];?><?}else{?><?}?> <?php include("system/model/title.php");?></title>
83 <script type="text/javascript">
84 $(document).ready(function () {
85 $('.fancybox-login').fancybox();
86
87 $("#d-categories").hover(
88 function () {
89 $(this).addClass("unfold-categories");
90 },
91 function () {
92 $(this).removeClass("unfold-categories");
93 });
94 });
95 </script>
96 <style type="text/css">.fancybox-margin{margin-right:15px;}</style>
97
98
99
100
101
102
103
104 </head>
105 <body>
106 <!-- popup login -->
107 <div id="login_form">
108
109 <div id="login_all">
110 <div ><a id="cancel_hide" class="fancybox-item fancybox-close" href="<?php echo "https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>#"></a></div>
111
112 <p style="
113 float: left;
114 width: 100%;
115 color: #0094da;
116 font-size: 200%;
117 font-weight: 700;
118 text-align: center;
119 padding: 20px 0;
120 margin: 0;
121 ">ĐĂNG NHẬP HỆ THỐNG</p>
122
123 <form action="system/home/login.php">
124 <div style="
125 text-align: center;
126 color: #F44336;
127 " id="add_err"></div>
128 <div >
129 <div >
130 <div style="
131 float: left;
132 width: 100%;
133 text-align: left;
134 line-height: 18px;
135 padding: 5px 0;
136 margin: 8px 0 0;
137 ">Tên đăng nhập:</div>
138 <div ><input type="text" class="login_form_input" id="user_name" name="user_name" style="width: 100%;"/></div>
139 </div>
140 </div>
141 <div >
142 <div >
143 <div style="
144 float: left;
145 width: 100%;
146 text-align: left;
147 line-height: 18px;
148 padding: 5px 0;
149 margin: 8px 0 0;
150 ">Mật khẩu:</div>
151 <div ><input type="password" class="login_form_input" id="password_login" name="password_login" style="width: 100%;" /></div>
152 </div>
153 </div>
154 <div >
155 <div>
156 <a style="
157 float: right;
158 padding-top: 8px;
159 " href="./quen-mat-khau.html" target="_blank">Quên mật khẩu?</a>
160 </div>
161 </div>
162 <div >
163 <div >
164 <input class="login" type="submit" id="login" value="ĐĂNG NHẬP" />
165
166 </div>
167 <div style="
168 padding: 0px 0;
169 line-height: 42px;
170 margin-left: 34px;
171 font-size: 12px;
172 "> <span>Bạn chưa có tài khoản?</span> <a target="_blank" href="dang-ky-thanh-vien.html" class="dkn" title="Đăng ký" style="
173 color: #e5101d;
174 font-weight: bold;
175 margin-left: 86px;
176 cursor: pointer;
177 ">Đăng ký ngay</a> </div>
178 </div>
179
180 </form>
181 </div>
182 </div>
183 <div id="shadow" class="popup_login"></div>
184 <!--end popup login-->
185
186
187
188
189
190 <div id="page">
191
192
193
194
195
196
197
198 <div class="d-content" style="
199 width: 100%;
200 ">
201
202
203
204
205 <?php if($_REQUEST['home']=='')
206 {?>
207
208
209
210
211 </div>
212 <?}else{?>
213 <?php include("system/model/frame.php");?>
214 <?}?>
215
216 </div>
217
218 </div>
219 <script>
220 // kéo xuống khoảng cách 600px thì xuất hiện nút Top-up
221 var offset = 300;
222
223 // thời gian di trượt 0.95s ( 1000 = 1s )
224 var duration = 950;
225 $(function(){
226 $(window).scroll(function () {
227 if ($(this).scrollTop() > offset) $('#top-up').fadeIn(duration);
228 else $('#top-up').fadeOut(duration);
229 });
230 $('#top-up').click(function () {
231 $('body,html').animate({scrollTop: 0}, duration);
232 });
233 });
234 </script>
235 <div id="top-up"><i class="fa fa-arrow-circle-o-up"></i></div>
236 <style>
237 #top-up {
238 background:none;
239 font-size: 3em;
240 cursor: pointer;
241 position: fixed;
242 z-index: 99999;// đè lên tất cả nôị dung đi qua nó
243 color: green;
244 bottom: 0px;
245 right: 0px;
246 display: none;
247 }
248 </style>
249
250
251
2
3 <!DOCTYPE html>
4 <html xmlns="http://www.w3.org/1999/xhtml" class="">
5 <head id="ctl00_Head1">
6 <meta http-equiv="content-type" content="text/html; charset=utf8" />
7 <meta http-equiv="content-language" content="vi" />
8 <META name= "title" content="<?php include("system/model/title.php"); echo " ". $title_mt;?>">
9 <meta name="description" content="<?php echo $motaseo;?> "/>
10 <meta name="keywords" content="<?php echo $tukhoaseo;?> "/>
11 <META name="robots" content="noodp,index,follow">
12 <META name="revisit-after content"="1 days">
13 <meta name="copyright" content="Copyright (C) DANASTAR COMPANY" />
14
15 <meta name="geo.placename" content="Vietnamese">
16 <meta name="geo.region" content="VN">
17 <meta name="msvalidate.01" content="956500EE46911FC4B5244B34305AF4D1">
18
19 <meta property="og:title" content="<?php echo $title_fb; ?>" />
20 <meta property="og:description" content="<?php echo $description_fb; ?>" />
21 <meta property="og:image" content="<?php echo "http://www.".$home['domain']."/".$image_fb;?>"/>
22 <meta property="og:url" content="<?php echo "http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>" />
23
24 <title><?php include("system/model/title.php");echo " ". $title_mt;?></title>
25
26 <link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
27 <link href="style/bootstrap.css" rel="stylesheet" type="text/css">
28 <link href="style/font-awesome.css" rel="stylesheet" type="text/css">
29 <link href="style/style_new.css" rel="stylesheet" type="text/css">
30 <link rel="stylesheet" href="style/css.css">
31 <link rel="stylesheet" href="style/top.css">
32
33
34
35
36 <script type="text/javascript" async="" src="./temp/platform.js" gapi_processed="true"></script>
37
38 <script type="text/javascript" src="/js/jquery.min.js"></script>
39
40 <!-- Add fancyBox main JS and CSS files -->
41 <script type="text/javascript" src="/quantri/source/jquery.fancybox.js?v=2.1.5"></script>
42 <link rel="stylesheet" type="text/css" href="/quantri/source/jquery.fancybox.css?v=2.1.5" media="screen" />
43
44 <script type="text/javascript" src="./temp/CommonFunction.js"></script>
45
46 <script type="text/javascript" src="./temp/jquery.jcarousel.min.js"></script>
47 <script type="text/javascript" src="./temp/jquery.jcarousel-autoscroll.min.js"></script>
48 <script type="text/javascript" src="./temp/jquery.jcarousel.basic.js"></script>
49 <!-- iCheck for checkboxes and radio inputs -->
50 <link rel="stylesheet" href="quantri/plugins/iCheck/all.css">
51
52
53 <script type="text/javascript">
54 $(document).ready(function() {
55 /*
56 * Examples - images
57 */
58
59
60 $("#xemsanpham").fancybox({
61 'width' : '1100px',
62 'height' : '1100px',
63 'autoScale' : true,
64 'transitionIn' : '11',
65 'transitionOut' : 'none',
66 'type' : 'iframe'
67 });
68
69 $("#xemanh").fancybox({
70 'width' : '500px',
71 'height' : '500px',
72 'autoScale' : false,
73 'transitionIn' : 'fade',
74 'transitionOut' : 'fade',
75 'type' : 'iframe',
76 'opacity' : 'false',
77 });
78 });
79 </script>
80
81
82 <title><?php if($_REQUEST['home']==''){?><?php echo $row_config['title'];?><?}else{?><?}?> <?php include("system/model/title.php");?></title>
83 <script type="text/javascript">
84 $(document).ready(function () {
85 $('.fancybox-login').fancybox();
86
87 $("#d-categories").hover(
88 function () {
89 $(this).addClass("unfold-categories");
90 },
91 function () {
92 $(this).removeClass("unfold-categories");
93 });
94 });
95 </script>
96 <style type="text/css">.fancybox-margin{margin-right:15px;}</style>
97
98
99
100
101
102
103
104 </head>
105 <body>
106 <!-- popup login -->
107 <div id="login_form">
108
109 <div id="login_all">
110 <div ><a id="cancel_hide" class="fancybox-item fancybox-close" href="<?php echo "https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];?>#"></a></div>
111
112 <p style="
113 float: left;
114 width: 100%;
115 color: #0094da;
116 font-size: 200%;
117 font-weight: 700;
118 text-align: center;
119 padding: 20px 0;
120 margin: 0;
121 ">ĐĂNG NHẬP HỆ THỐNG</p>
122
123 <form action="system/home/login.php">
124 <div style="
125 text-align: center;
126 color: #F44336;
127 " id="add_err"></div>
128 <div >
129 <div >
130 <div style="
131 float: left;
132 width: 100%;
133 text-align: left;
134 line-height: 18px;
135 padding: 5px 0;
136 margin: 8px 0 0;
137 ">Tên đăng nhập:</div>
138 <div ><input type="text" class="login_form_input" id="user_name" name="user_name" style="width: 100%;"/></div>
139 </div>
140 </div>
141 <div >
142 <div >
143 <div style="
144 float: left;
145 width: 100%;
146 text-align: left;
147 line-height: 18px;
148 padding: 5px 0;
149 margin: 8px 0 0;
150 ">Mật khẩu:</div>
151 <div ><input type="password" class="login_form_input" id="password_login" name="password_login" style="width: 100%;" /></div>
152 </div>
153 </div>
154 <div >
155 <div>
156 <a style="
157 float: right;
158 padding-top: 8px;
159 " href="./quen-mat-khau.html" target="_blank">Quên mật khẩu?</a>
160 </div>
161 </div>
162 <div >
163 <div >
164 <input class="login" type="submit" id="login" value="ĐĂNG NHẬP" />
165
166 </div>
167 <div style="
168 padding: 0px 0;
169 line-height: 42px;
170 margin-left: 34px;
171 font-size: 12px;
172 "> <span>Bạn chưa có tài khoản?</span> <a target="_blank" href="dang-ky-thanh-vien.html" class="dkn" title="Đăng ký" style="
173 color: #e5101d;
174 font-weight: bold;
175 margin-left: 86px;
176 cursor: pointer;
177 ">Đăng ký ngay</a> </div>
178 </div>
179
180 </form>
181 </div>
182 </div>
183 <div id="shadow" class="popup_login"></div>
184 <!--end popup login-->
185
186
187
188
189
190 <div id="page">
191
192
193
194
195
196
197
198 <div class="d-content" style="
199 width: 100%;
200 ">
201
202
203
204
205 <?php if($_REQUEST['home']=='')
206 {?>
207
208
209
210
211 </div>
212 <?}else{?>
213 <?php include("system/model/frame.php");?>
214 <?}?>
215
216 </div>
217
218 </div>
219 <script>
220 // kéo xuống khoảng cách 600px thì xuất hiện nút Top-up
221 var offset = 300;
222
223 // thời gian di trượt 0.95s ( 1000 = 1s )
224 var duration = 950;
225 $(function(){
226 $(window).scroll(function () {
227 if ($(this).scrollTop() > offset) $('#top-up').fadeIn(duration);
228 else $('#top-up').fadeOut(duration);
229 });
230 $('#top-up').click(function () {
231 $('body,html').animate({scrollTop: 0}, duration);
232 });
233 });
234 </script>
235 <div id="top-up"><i class="fa fa-arrow-circle-o-up"></i></div>
236 <style>
237 #top-up {
238 background:none;
239 font-size: 3em;
240 cursor: pointer;
241 position: fixed;
242 z-index: 99999;// đè lên tất cả nôị dung đi qua nó
243 color: green;
244 bottom: 0px;
245 right: 0px;
246 display: none;
247 }
248 </style>
249
250
251